Airwallex\Controllers\AirwallexController A

Total Complexity 67
Dependencies 15
Dependents 2
Total lines 410
Lines of code 347
Logical lines of code 209
Comment lines 20
Methods 14
Properties 1

Methods 14

Method Rating Maintainability Complexity Lines of code
paymentConfirmation()
B
35 14 90
getOrderAndPaymentIntentForConfirmation()
A
45 11 42
connectionTest()
A
49 8 31
handleRedirectWithReturnResult()
A
51 8 26
getRequestHeaders()
S
58 5 15
jsLog()
S
58 5 15
handleStatusForConfirmation()
S
55 3 20
getPaymentDetailForRedirect()
S
58 3 15
dropInPayment()
S
51 2 25
cardPayment()
S
53 2 22
weChatPayment()
S
53 2 22
webhook()
S
56 2 18
__construct()
S
80 1 3
setTemporaryOrderStateAfterDecline()
S
81 1 3